/**
 * 
 */
package com.pmsco.pms.ajaxdata;

import com.pmsco.pms.core.domain.Medicine;

/**
 * @author Tran Thanh Long
 *
 */
public class MedicineJsonData {
	private Long id;
	private String name;
	private String enName;
	private String visa;
	private String category;
	private String subCategory;
	private String dispenseType;
	private String manufacturer;
	private String distributor;
	private String importer;

	public MedicineJsonData(Medicine medicine) {
		super();
		setId(medicine.getId());
		setName(medicine.getName());
		setEnName(medicine.getEnName());
		setVisa(medicine.getVisa());
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the enName
	 */
	public String getEnName() {
		return enName;
	}
	
	/**
	 * @param enName the enName to set
	 */
	public void setEnName(String enName) {
		this.enName = enName;
	}
	
	/**
	 * @return the visa
	 */
	public String getVisa() {
		return visa;
	}
	
	/**
	 * @param visa the visa to set
	 */
	public void setVisa(String visa) {
		this.visa = visa;
	}
	
	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}
	
	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}
	
	/**
	 * @return the subCategory
	 */
	public String getSubCategory() {
		return subCategory;
	}
	
	/**
	 * @param subCategory the subCategory to set
	 */
	public void setSubCategory(String subCategory) {
		this.subCategory = subCategory;
	}

	/**
	 * @return the dispenseType
	 */
	public String getDispenseType() {
		return dispenseType;
	}

	/**
	 * @param dispenseType the dispenseType to set
	 */
	public void setDispenseType(String dispenseType) {
		this.dispenseType = dispenseType;
	}

	/**
	 * @return the manufacturer
	 */
	public String getManufacturer() {
		return manufacturer;
	}

	/**
	 * @param manufacturer the manufacturer to set
	 */
	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	/**
	 * @return the distributor
	 */
	public String getDistributor() {
		return distributor;
	}

	/**
	 * @param distributor the distributor to set
	 */
	public void setDistributor(String distributor) {
		this.distributor = distributor;
	}

	/**
	 * @return the importer
	 */
	public String getImporter() {
		return importer;
	}

	/**
	 * @param importer the importer to set
	 */
	public void setImporter(String importer) {
		this.importer = importer;
	}
}
